<!--{$fsc->query}-->

{if condition="$fsc->get_errors()"}
   <div class="bg-error">
      {loop="$fsc->get_errors()"}<li>{$value}</li>{/loop}
   </div>
{/if}
{if condition="$fsc->get_messages()"}
   <div class="bg-message">
      {loop="$fsc->get_messages()"}<li>{$value}</li>{/loop}
   </div>
{/if}

{if condition="$fsc->results"}
<div class="table-responsive" style="margin: 5px;">
   <table class="table table-hover">
      <tr>
         <th>Referencia</th>
         <th>Descripción</th>
         <th class="text-right">PVP+IVA</th>
      </tr>
      {loop="$fsc->results"}
      <tr>
         <td><a href="{$fsc->cache_paquete->add_url($value->referencia)}">{$value->referencia}</a></td>
         <td>{$value->descripcion}</td>
         <td class="text-right">
            <span title="actualizado el {$value->factualizado}">{$fsc->show_precio($value->pvp_iva())}</span>
         </td>
      </tr>
      {/loop}
   </table>
</div>
{/if}
